home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / EDITORS / MEMACS / H / Efunc < prev    next >
Text File  |  1990-06-26  |  7KB  |  248 lines

  1. /*    EFUNC.H:    MicroEMACS function declarations and names
  2.  
  3.         This file list all the C code functions used by MicroEMACS
  4.     and the names to use to bind keys to them. To add functions,
  5.     declare it here in both the extern function list and the name
  6.     binding table.
  7.  
  8. */
  9.  
  10. /*    Name to function binding table
  11.  
  12.         This table gives the names of all the bindable functions
  13.     end their C function address. These are used for the bind-to-key
  14.     function.
  15. */
  16.  
  17. NOSHARE NBIND    names[] = {
  18.     {"abort-command",        ctrlg},
  19.     {"add-global-mode",        setgmode},
  20.     {"add-mode",            setmod},
  21.     {"append-file",            fileapp},
  22.     {"apropos",            apro},
  23. #if    CTAGS
  24.     {"back-from-tag-word",        backtagword},
  25. #endif
  26.     {"backward-character",        backchar},
  27.     {"begin-macro",            ctlxlp},
  28.     {"beginning-of-file",        gotobob},
  29.     {"beginning-of-line",        gotobol},
  30.     {"bind-to-key",            bindtokey},
  31.     {"buffer-position",        showcpos},
  32.     {"case-region-lower",        lowerregion},
  33.     {"case-region-upper",        upperregion},
  34.     {"case-word-capitalize",    capword},
  35.     {"case-word-lower",        lowerword},
  36.     {"case-word-upper",        upperword},
  37.     {"change-file-name",        filename},
  38.     {"change-screen-size",        newsize},
  39.     {"change-screen-width",        newwidth},
  40.     {"clear-and-redraw",        refresh},
  41.     {"clear-message-line",        clrmes},
  42.     {"copy-region",            copyregion},
  43.     {"count-words",            wordcount},
  44.     {"ctlx-prefix",            cex},
  45.     {"delete-blank-lines",        deblank},
  46.     {"delete-buffer",        killbuffer},
  47.     {"delete-global-mode",        delgmode},
  48.     {"delete-mode",            delmode},
  49.     {"delete-next-character",    forwdel},
  50.     {"delete-next-word",        delfword},
  51.     {"delete-other-windows",    onlywind},
  52.     {"delete-previous-character",    backdel},
  53.     {"delete-previous-word",    delbword},
  54.     {"delete-screen",        delete_screen},
  55.     {"delete-window",        delwind},
  56.     {"describe-bindings",        desbind},
  57. #if    DEBUGM
  58.     {"describe-functions",        desfunc},
  59. #endif
  60.     {"describe-key",        deskey},
  61. #if    DEBUGM
  62.     {"describe-variables",        desvars},
  63. #endif
  64.     {"detab-line",            detab},
  65.     {"detab-region",        detab},
  66. #if    DEBUGM
  67.     {"display",            dispvar},
  68. #endif
  69.     {"end-macro",            ctlxrp},
  70.     {"end-of-file",            gotoeob},
  71.     {"end-of-line",            gotoeol},
  72.     {"end-of-word",            endword},
  73.     {"entab-line",            entab},
  74.     {"entab-region",        entab},
  75.     {"exchange-point-and-mark",    swapmark},
  76.     {"execute-buffer",        execbuf},
  77.     {"execute-command-line",    execcmd},
  78.     {"execute-file",        execfile},
  79.     {"execute-macro",        ctlxe},
  80.     {"execute-macro-1",        cbuf1},
  81.     {"execute-macro-10",        cbuf10},
  82.     {"execute-macro-11",        cbuf11},
  83.     {"execute-macro-12",        cbuf12},
  84.     {"execute-macro-13",        cbuf13},
  85.     {"execute-macro-14",        cbuf14},
  86.     {"execute-macro-15",        cbuf15},
  87.     {"execute-macro-16",        cbuf16},
  88.     {"execute-macro-17",        cbuf17},
  89.     {"execute-macro-18",        cbuf18},
  90.     {"execute-macro-19",        cbuf19},
  91.     {"execute-macro-2",        cbuf2},
  92.     {"execute-macro-20",        cbuf20},
  93.     {"execute-macro-21",        cbuf21},
  94.     {"execute-macro-22",        cbuf22},
  95.     {"execute-macro-23",        cbuf23},
  96.     {"execute-macro-24",        cbuf24},
  97.     {"execute-macro-25",        cbuf25},
  98.     {"execute-macro-26",        cbuf26},
  99.     {"execute-macro-27",        cbuf27},
  100.     {"execute-macro-28",        cbuf28},
  101.     {"execute-macro-29",        cbuf29},
  102.     {"execute-macro-3",        cbuf3},
  103.     {"execute-macro-30",        cbuf30},
  104.     {"execute-macro-31",        cbuf31},
  105.     {"execute-macro-32",        cbuf32},
  106.     {"execute-macro-33",        cbuf33},
  107.     {"execute-macro-34",        cbuf34},
  108.     {"execute-macro-35",        cbuf35},
  109.     {"execute-macro-36",        cbuf36},
  110.     {"execute-macro-37",        cbuf37},
  111.     {"execute-macro-38",        cbuf38},
  112.     {"execute-macro-39",        cbuf39},
  113.     {"execute-macro-4",        cbuf4},
  114.     {"execute-macro-40",        cbuf40},
  115.     {"execute-macro-5",        cbuf5},
  116.     {"execute-macro-6",        cbuf6},
  117.     {"execute-macro-7",        cbuf7},
  118.     {"execute-macro-8",        cbuf8},
  119.     {"execute-macro-9",        cbuf9},
  120.     {"execute-named-command",    namedcmd},
  121.     {"execute-procedure",        execproc},
  122.     {"execute-program",        execprg},
  123.     {"exit-emacs",            quit},
  124.     {"fill-paragraph",        fillpara},
  125.     {"filter-buffer",        filter},
  126.     {"find-file",            filefind},
  127.     {"find-screen",            find_screen},
  128.     {"forward-character",        forwchar},
  129.     {"goto-line",            gotoline},
  130.     {"goto-mark",            gotomark},
  131.     {"goto-matching-fence",        getfence},
  132.     {"grow-window",            enlargewind},
  133.     {"handle-tab",            tab},
  134.     {"help",            help},
  135.     {"hunt-backward",        backhunt},
  136.     {"hunt-forward",        forwhunt},
  137.     {"i-shell",            spawncli},
  138. #if    ISRCH
  139.     {"incremental-search",        fisearch},
  140. #endif
  141.     {"indent-region",        indent_region},
  142.     {"insert-file",            insfile},
  143.     {"insert-space",        insspace},
  144.     {"insert-string",        istring},
  145.     {"kill-paragraph",        killpara},
  146.     {"kill-region",            killregion},
  147.     {"kill-to-end-of-line",        killtext},
  148. #if    FLABEL
  149.     {"label-function-key",        fnclabel},
  150. #endif
  151.     {"list-buffers",        listbuffers},
  152.     {"list-screens",        list_screens},
  153.     {"macro-to-key",        macrotokey},
  154.     {"meta-prefix",            meta},
  155. #if    MOUSE
  156.     {"mouse-move-down",        movemd},
  157.     {"mouse-move-up",        movemu},
  158.     {"mouse-region-down",        mregdown},
  159.     {"mouse-region-up",        mregup},
  160.     {"mouse-resize-screen",        resizm},
  161. #endif
  162.     {"move-window-down",        mvdnwind},
  163.     {"move-window-up",        mvupwind},
  164.     {"name-buffer",            namebuffer},
  165.     {"narrow-to-region",        narrow},
  166.     {"newline",            newline},
  167.     {"newline-and-indent",        indent},
  168.     {"next-buffer",            nextbuffer},
  169.     {"next-line",            forwline},
  170.     {"next-page",            forwpage},
  171.     {"next-paragraph",        gotoeop},
  172.     {"next-screen",            next_screen},
  173.     {"next-window",            nextwind},
  174.     {"next-word",            forwword},
  175.     {"nop",                nullproc},
  176.     {"open-line",            openline},
  177.     {"overwrite-string",        ovstring},
  178.     {"pipe-command",        pipecmd},
  179.     {"pop-buffer",            popbuffer},
  180.     {"previous-line",        backline},
  181.     {"previous-page",        backpage},
  182.     {"previous-paragraph",        gotobop},
  183.     {"previous-screen",        prev_screen},
  184.     {"previous-window",        prevwind},
  185.     {"previous-word",        backword},
  186.     {"print",            writemsg},
  187.     {"query-replace-string",    qreplace},
  188.     {"quick-exit",            quickexit},
  189.     {"quote-character",        quote},
  190. #if    CTAGS
  191.     {"re-tag-word",            retagword},
  192. #endif
  193.     {"read-file",            fileread},
  194.     {"redraw-display",        reposition},
  195.     {"remove-mark",            remmark},
  196.     {"replace-string",        sreplace},
  197.     {"resize-window",        resize},
  198.     {"restore-window",        restwnd},
  199. #if    ISRCH
  200.     {"reverse-incremental-search",    risearch},
  201. #endif
  202.     {"run",                execproc},
  203.     {"save-file",            filesave},
  204.     {"save-window",            savewnd},
  205.     {"scroll-next-down",        nextdown},
  206.     {"scroll-next-up",        nextup},
  207.     {"search-forward",        forwsearch},
  208.     {"search-reverse",        backsearch},
  209.     {"select-buffer",        usebuffer},
  210.     {"set",                setvar},
  211. #if    CRYPT
  212.     {"set-encryption-key",        setekey},
  213. #endif
  214.     {"set-fill-column",        setfillcol},
  215.     {"set-mark",            setmark},
  216.     {"shell-command",        spawn},
  217.     {"show-files",            showfiles},
  218.     {"shrink-window",        shrinkwind},
  219.     {"source",            execfile},
  220.     {"split-current-window",    splitwind},
  221.     {"store-macro",            storemac},
  222.     {"store-procedure",        storeproc},
  223. #if    BSD || VMS || SUN || HPUX || AVIION
  224.     {"suspend-emacs",        bktoshell},
  225. #endif
  226. #if    CTAGS
  227.     {"tag-word",            tagword},
  228. #endif
  229.     {"transpose-characters",    twiddle},
  230.     {"trim-line",            trim},
  231.     {"trim-region",            trim},
  232.     {"unbind-key",            unbindkey},
  233.     {"undent-region",        undent_region},
  234.     {"universal-argument",        unarg},
  235.     {"unmark-buffer",        unmark},
  236.     {"update-screen",        upscreen},
  237.     {"view-file",            viewfile},
  238.     {"widen-from-region",        widen},
  239.     {"wrap-word",            wrapword},
  240.     {"write-file",            filewrite},
  241.     {"write-message",        writemsg},
  242.     {"yank",            yank},
  243.  
  244.     {"",            NULL}
  245. };
  246.  
  247. #define    NFUNCS    (sizeof(names)/sizeof(NBIND)) - 1
  248.